@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="catalogInfoForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="name" name="栏目名称" underline="true" />
                    <#input id="sort" name="排序序号" underline="true"/>
                    <#input id="pName" name="父级栏目"
                            hidden="parentId" readonly="readonly"
                            clickFun="CatalogInfoDlg.showCatalogSelectTree(); return false;"
                            style="background-color: #ffffff !important;"
                            selectFlag="true" selectId="pIdTreeDiv" selectTreeId="pcodeTree" selectStyle="width:244px !important;"/>
                </div>

                <div class="col-sm-6">
                    <#textarea  id="content" name="栏目内容" underline="true" />
                    <#select id="status" name="是否启用">
                        <option value="1">是</option>
                        <option value="0">否</option>
                    </#select>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="CatalogInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="CatalogInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/cms/catalog/catalog_info.js"></script>
@}
